// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store/index.js'
// 保证在所有浏览器都支持es6语法
import 'babel-polyfill'
import 'styles/reset.css'
import 'styles/border.css'
import 'styles/iconfont.css'
import VueAwesomeSwiper from 'vue-awesome-swiper'
require('swiper/dist/css/swiper.css')
Vue.use(VueAwesomeSwiper)
Vue.config.productionTip = false
// 利用fastclick库解决移动端300ms点击事件延迟的问题
// fastClick.attach(document.body)

/* eslint-disable no-new */
// 新脚手架的代码,做了变更，挂载写法变了
new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
}).$mount('#app')
